package com.ontheroad.api.request;

import java.util.List;

/**
 * Created by kedong on 2017/6/29 0029.
 */
public class PathRequest extends SprotRequest {

    private static final long serialVersionUID = 4160271155793103768L;

    private Integer type;

    private Integer pathId;
    /**
     * 轨迹gpx格式数据
     */
    private String gpx;

    /**
     * json格式的轨迹点集合
     */
    private String points;

    /**
     * 轨迹geojson格式数据
     */
    private String geojson;

    /**
     * 开始位置(名称)
     */
    private String start;

    /**
     * 结束位置(名称)
     */
    private String end;

    /**
     * 轨迹别名
     */
    private String name;

    /**
     * 时长
     */
    private Double time;

    /**
     * 最高海拔
     */
    private Double altitude;

    /**
     * 累计爬升高度
     */
    private Double height;

    /**
     * 平均速度
     */
    private Double speed;

    /**
     * 轨迹缩略图
     */
    private String pathIconUrl;

    @Override
    public Integer getType() {
        return type;
    }

    @Override
    public void setType(Integer type) {
        this.type = type;
    }

    public String getGpx() {
        return gpx;
    }

    public void setGpx(String gpx) {
        this.gpx = gpx;
    }

    public String getGeojson() {
        return geojson;
    }

    public void setGeojson(String geojson) {
        this.geojson = geojson;
    }

    public String getStart() {
        return start;
    }

    public void setStart(String start) {
        this.start = start;
    }

    public String getEnd() {
        return end;
    }

    public void setEnd(String end) {
        this.end = end;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getTime() {
        return time;
    }

    public void setTime(Double time) {
        this.time = time;
    }

    public Double getAltitude() {
        return altitude;
    }

    public void setAltitude(Double altitude) {
        this.altitude = altitude;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public Double getSpeed() {
        return speed;
    }

    public void setSpeed(Double speed) {
        this.speed = speed;
    }

    public String getPathIconUrl() {
        return pathIconUrl;
    }

    public void setPathIconUrl(String pathIconUrl) {
        this.pathIconUrl = pathIconUrl;
    }

    public Integer getPathId() {
        return pathId;
    }

    public void setPathId(Integer pathId) {
        this.pathId = pathId;
    }

    public String getPoints() {
        return points;
    }

    public void setPoints(String points) {
        this.points = points;
    }
}
